<!DOCTYPE html>
<html lang="ZH-cn">

<head>
  <meta charset="UTF-8" />
  <meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no">
  <title>Test</title>
  <link rel="stylesheet" href="./styles/default.css">
</head>

<body>
  <s-page>
    <main>
      <s-segmented-button onchange="console.log(this.selectedIndex)">
        <s-segmented-button-item selectable="false">
          <s-icon type="chevron_left"></s-icon>
        </s-segmented-button-item>
        <s-segmented-button-item selected="true">1</s-segmented-button-item>
        <s-segmented-button-item>2</s-segmented-button-item>
        <s-segmented-button-item>3</s-segmented-button-item>
        <s-segmented-button-item>...</s-segmented-button-item>
        <s-segmented-button-item>16</s-segmented-button-item>
        <s-segmented-button-item selectable="false">
          <s-icon type="chevron_right"></s-icon>
        </s-segmented-button-item>
      </s-segmented-button>
    </main>
  </s-page>
  <script type="module" src="../dist/main.js"></script>
  <script type="module" src="./scripts/default.js"></script>
</body>

</html>